/*
 * Copyright 2022 NXP
 * All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef GUI_GUIDER_H
#define GUI_GUIDER_H

#include "lvgl/lvgl.h"

typedef struct
{
	bool blueCounter_del;
  lv_obj_t *cont_background;
	lv_obj_t *cont_front;
	lv_obj_t *label_title;
	lv_obj_t *btn_begin;
	lv_obj_t *btn_begin_label;
	lv_obj_t *label_sensitivity;
	lv_obj_t *label_sen_num;
	lv_obj_t *label_sen_pct;
	lv_obj_t *label_confidence;
	lv_obj_t *label_con_num;
	lv_obj_t *label_con_pct;
	lv_obj_t *slider_sensitivity;
	lv_obj_t *rolling_mel;
	lv_obj_t *green_led;
	lv_obj_t *red_led;
	lv_obj_t *label_snoring;
} lv_ui;

extern lv_ui guider_ui;

void ui_init_style(lv_style_t * style);
void init_scr_del_flag(lv_ui *ui);
void setup_ui(lv_ui *ui);

extern lv_img_dsc_t MelSG;

LV_FONT_DECLARE(lv_font_montserratMedium_14)
LV_FONT_DECLARE(lv_font_Acme_Regular_16)

#ifdef __cplusplus
extern "C" {
#endif

#ifdef __cplusplus
}
#endif
#endif
